import {
  getFsbStudyDetail,
  getExpertDetail,
  getProjectInfo
} from "/@/api/project";
export const flowFormArray = {
  //可行性研究报告
  "2008": {
    interface:getFsbStudyDetail,
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ],

    reviewInfo:{
      isExpert:false,     //是否专家评审
      reviewList:[
        {label:"关键结论",value:"keyConclusion"},
        {label:"附件",value:"fsbStudyAttachmentArr",type:"file"},
        {label:"备注",value:"remark"}
      ]
    },

    pending:{
      ACT_011: {
        title:"立项评审意见",
        buildReview:[
          {label:"立项评审意见",type:"radio",value:"",require:true},
          {label:"专家评审表",type:"file",value:"",require:false},
          {label:"备注",type:"textarea",value:"",require:false,placeholder:"请输入"}
        ]
      }
    }
  },

  // 重大研发项目（项目金额≥2000万）- 组织二次转型后工厂
  "2109": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 重大研发项目（项目金额≥2000万）- 组织二次转型前工厂
  "2110": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 重大研发项目（项目金额≥2000万）- 喜力工厂
  "2111": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 重大研发项目（项目金额≥2000万）- 总部研发项目
  "2112": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

 // 一般研发项目（20万< 项目经费<2000万）- 组织二次转型后工厂
  "2113": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 一般研发项目（20万< 项目经费<2000万）- 组织二次转型前工厂
  "2114": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 一般研发项目（20万< 项目经费<2000万）- 喜力工厂
  "2115": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 一般研发项目（20万< 项目经费<2000万）- 总部研发项目
  "2116": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 可行性研究 - 组织二次转型后工厂
  "2125": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 可行性研究 - 组织二次转型前工厂
  "2126": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 可行性研究 - 喜力工厂
  "2127": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 可行性研究 - 总部研发项目
  "2128": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 小型研发项目（20万< 项目经费<200万）- 组织二次转型后工厂
  "2117": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 小型研发项目（20万< 项目经费<200万）- 组织二次转型前工厂
  "2118": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 小型研发项目（20万< 项目经费<200万）- 喜力工厂
  "2119": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  // 小型研发项目（20万< 项目经费<200万）- 总部研发项目
  "2120": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //预研项目（项目经费<20万）- 组织二次转型后工厂
  "2121": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //预研项目（项目经费<20万）- 组织二次转型前工厂
  "2122": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //预研项目（项目经费<20万）- 喜力工厂
  "2123": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //预研项目（项目经费<20万）- 总部研发项目
  "2124": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //科研经费
  "2027": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //项目建档-实施-非实质性变更
  "2028": {
    interface:getProjectInfo,
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ],

    reviewInfo:{
      isExpert:false,     //是否专家评审
      reviewList:[
        {label:"关键结论",value:"keyConclusion"},
        {label:"附件",value:"fsbStudyAttachmentArr",type:"file"},
        {label:"备注",value:"remark"}
      ]
    },

    pending:{
      "ACT_011": {
        title:"立项评审意见",
        isExpert:false,         //是否专家评审
        buildReview:[
          {label:"立项评审意见",type:"radio",value:"",require:true},
          {label:"专家评审表",type:"file",value:"",require:false},
          {label:"备注",type:"textarea",value:"",require:false,placeholder:"请输入"}
        ]
      }
    }
  },
  
  //科研成果
  "2029": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },
  
  //项目工时
  "2030": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },

  //专家评审
  "3009": {
    interface:getExpertDetail,
    //基本信息
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"评审轮次",value:"reviewRoundName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ],

    //评审内容
    reviewInfo:{
      isExpert:true,         //是否专家评审
      //立项评审
      "2":[
        {label:"项目立项书",value:"projectProposalArr",type:"file"},
        {label:"项目申报材料",value:"kyFilesArr",type:"file"}
      ],

      //项目实施评审
      "3":[
        {label:"起止时间",value:"time"},
        {label:"研究内容",value:"content"},
        {label:"预期目标",value:"goal"},
        {label:"是否完成",value:"isDone"},
        {label:"完成时间",value:"doneTime"},
        {label:"完成情况",value:"doneDes"},
        {label:"附件",value:"attachment"}
      ],

      //项目验收
      "4":[
        {label:"目标及考核指标",value:"target"},
        {label:"类型",value:"resultType"},
        {label:"数值",value:"num"},
        {label:"是否完成",value:"finishStatus"},
        {label:"完成时间",value:"finishTime"},
        {label:"完成情况",value:"finishDesc"}
      ],

      //项目后评价
      "5":[
        {label:"评价时间",value:"evaluationTime"},
        // {label:"评价成员信息",value:"evaluationMembers"},
        {label:"评价结果",value:"reviewStageName"},
        {label:"评价报告",value:"defaultProposaFileList"},
        {label:"备注",value:"defaultFileList"},
        {label:"专家评审信息",value:"defaultFileList"}
      ],

      //项目变更
      "6":[
        {label:"变更事由",value:"alterationReason"},
        {label:"变更原因",value:"alterationMatters"},
        {label:"变更时间",value:"alterationTime"},
        {label:"备注",value:"remark"},
        // {label:"专家评审信息",value:"defaultFileList"}
      ],

      //项目终止
      "7":[
        {label:"终止事由",value:"alterationReason"},
        {label:"终止原因",value:"alterationMatters"},
        {label:"终止时间",value:"alterationTime"},
        {label:"备注",value:"remark"},
        // {label:"专家评审信息",value:"defaultFileList"}
      ]
    },

    //待处理
    pending:{
      "ACT_011": {
        isExpert:true,         //是否专家评审
        conclusion:{
          label:"评审结论",
          value:[{label:"综合评审结论",placeholder:"请选择评审结论",type:"select",value:"reviewCommentsCode",require:true}]
        },
        review:{
          label:"评审意见",
          "2":{//项目立项
            technology:[
              {label:"创新性",placeholder:"请输入",type:"textarea",value:"tcnInnovation",require:true},
              {label:"必要性",placeholder:"请输入",type:"textarea",value:"tcnAdvance",require:true},
              {label:"创造价值",placeholder:"请输入",type:"textarea",value:"tcnJbzx",require:true},
              {label:"可行性",placeholder:"请输入",type:"textarea",value:"ext1",require:true},
              {label:"团队能力",placeholder:"请输入",type:"textarea",value:"ext2",require:true}
            ],
          },
          "4":{//项目验收
            technology:[
              {label:"项目完成情况",placeholder:"请输入",type:"textarea",value:"ext3",require:true},
              {label:"项目产出",placeholder:"请输入",type:"textarea",value:"ext4",require:true},
              {label:"成果影响",placeholder:"请输入",type:"textarea",value:"ext5",require:true},
              {label:"综合管理",placeholder:"请输入",type:"textarea",value:"ext6",require:true}
            ],
          },
          technology:[
            {label:"创新性",placeholder:"请输入",type:"textarea",value:"tcnInnovation",require:true},
            {label:"必要性",placeholder:"请输入",type:"textarea",value:"tcnAdvance",require:true},
            {label:"创造价值",placeholder:"请输入",type:"textarea",value:"tcnJbzx",require:true}
          ],
          economy:[
            {label:"经济性",placeholder:"请输入",type:"textarea",value:"ecoRational",require:true},
            {label:"符合性",placeholder:"请输入",type:"textarea",value:"ecoAccurate",require:true},
            {label:"相关性",placeholder:"请输入",type:"textarea",value:"ecoCompliance",require:true}
          ]
          
        },
        formList:[
          {label:"对本项目的建议",placeholder:"请输入",type:"textarea",value:"reviewComments",require:true},
          {label:"附件",placeholder:"请上传",type:"file",value:"reviewAttachment",require:false}
        ]
      },

      "ACT_012": {
        isExpert:false,         //是否专家评审
        formList:[
          {label:"评审意见",placeholder:"",type:"radio",value:"reviewCategoryCode",require:true,content:[{name:"同意",value:"1"},{name:"需重新评议",value:"2"},{name:"不同意",value:"3"}]},
          {label:"汇总专家评审意见",placeholder:"",type:"file",value:"reviewTemplateAttachment",require:true},
          {label:"备注",placeholder:"请输入",type:"textarea",value:"remark",require:false}
        ]
      },
      "END":{
        isExpert:false,         //是否专家评审
        formList:[]
      }
    }
  },

  //预研研发项目 - 金沙
  "3004": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },
  //小型研发项目 - 金沙
  "3003": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },
  //一般研发项目 - 金沙
  "3002": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },
  //重大研发项目 - 金沙
  "3001": {
    basicInfo:[
      {label:"审批事项",value:"billName"},
      {label:"业务类别",value:"busCategoryName"},
      {label:"发起人",value:"createUserName"},
      {label:"发起时间",value:"createTime"}
    ]
  },
};
